package guess;

public class ComputerPlayer {
	private String cname;
	private int cscore;
	public ComputerPlayer() {}
	public ComputerPlayer(String cname) {
		super();
		this.cname = cname;
	}
	public void addScore(){
		this.cscore++;
	}
	public int show(){
		int show = (int)(Math.random()*3+1);
		return show;
	}
	public String getCname() {
		return cname;
	}
	public void setCname(String cname) {
		this.cname = cname;
	}
	public int getCscore() {
		return cscore;
	}
	public void setCscore(int cscore) {
		this.cscore = cscore;
	}
	
}
